<%@page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<div class="pageContent">
<form:form  action="${ctx}/rolemenu/saveuserrole/${userid}?navtabid=${navtabid}" method="post"   onsubmit="return validateCallback(this, dialogAjaxDone);">
	<div   layoutH="60" style=" float:left; display:block; margin:10px; overflow:auto; width:200px;border:solid 1px #CCC; line-height:21px; background:#FFF;">
			<ul>
				<c:forEach var="item" items="${list}" varStatus="menu">	
				<li><input name="roleids" id="id${item.id}" type="checkbox" value="${item.id}"  ${item.checked?"checked":""}  /><label for="id${item.id}">${item.name}</label>
				</li>
				</c:forEach>
			</ul>
			
	</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存用户角色</button></div></div></li>	
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
			</ul>
	</div>
</form:form>
</div>
